
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>9.1 部署Nginx · 《Docker从入门到放弃》</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="杨文成 <cheng2guen@163.com>">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="9.2 部署MySQL.html" />
    
    

    
        <link rel="shortcut icon" href="docker.ico" type="image/x-icon">
    
    
    
    
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="docker.ico">
    
    
        
    
    
        
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    第1章 Docker Engine
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../第1章 Docker Engine/1.1 centos安装docker.html">
            
                <a href="../第1章 Docker Engine/1.1 centos安装docker.html">
            
                    
                    1.1 centos安装docker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../第1章 Docker Engine/1.2 ubuntu安装docker.html">
            
                <a href="../第1章 Docker Engine/1.2 ubuntu安装docker.html">
            
                    
                    1.2 ubuntu安装docker
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    第2章 Docker Image
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../第2章 Docker Image/2.1 镜像的基础命令.html">
            
                <a href="../第2章 Docker Image/2.1 镜像的基础命令.html">
            
                    
                    2.1 镜像的基础命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../第2章 Docker Image/2.2 镜像的导出导入.html">
            
                <a href="../第2章 Docker Image/2.2 镜像的导出导入.html">
            
                    
                    2.2 镜像的导出导入
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    第3章 Docker Container
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../第3章 Docker Container/3.1 容器的基础命令.html">
            
                <a href="../第3章 Docker Container/3.1 容器的基础命令.html">
            
                    
                    3.1 容器的基础命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../第3章 Docker Container/3.2 部署centos容器.html">
            
                <a href="../第3章 Docker Container/3.2 部署centos容器.html">
            
                    
                    3.2 部署centos容器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../第3章 Docker Container/3.3 容器的提交.html">
            
                <a href="../第3章 Docker Container/3.3 容器的提交.html">
            
                    
                    3.3 容器的提交
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../第3章 Docker Container/3.4 容器的导出导入.html">
            
                <a href="../第3章 Docker Container/3.4 容器的导出导入.html">
            
                    
                    3.4 容器的导出导入
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    第4章 Docker Volume
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../第4章 Docker Volume/4.1 volume简介.html">
            
                <a href="../第4章 Docker Volume/4.1 volume简介.html">
            
                    
                    4.1 volume简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../第4章 Docker Volume/4.2 数据卷挂载.html">
            
                <a href="../第4章 Docker Volume/4.2 数据卷挂载.html">
            
                    
                    4.2 数据卷挂载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../第4章 Docker Volume/4.3 文件目录挂载.html">
            
                <a href="../第4章 Docker Volume/4.3 文件目录挂载.html">
            
                    
                    4.3 文件目录挂载
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    第5章 Docker Network
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../第5章 Docker Network/5.1 docker网络简介.html">
            
                <a href="../第5章 Docker Network/5.1 docker网络简介.html">
            
                    
                    5.1 docker网络简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../第5章 Docker Network/5.2 docker网络命令.html">
            
                <a href="../第5章 Docker Network/5.2 docker网络命令.html">
            
                    
                    5.2 docker网络命令
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    第6章 Dockerfile
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../第6章 Dockerfile/6.1 Dockerfile参数介绍.html">
            
                <a href="../第6章 Dockerfile/6.1 Dockerfile参数介绍.html">
            
                    
                    6.1 Dockerfile参数介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../第6章 Dockerfile/6.2 构建centos镜像.html">
            
                <a href="../第6章 Dockerfile/6.2 构建centos镜像.html">
            
                    
                    6.2 构建centos镜像
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../第6章 Dockerfile/6.3 构建ubuntu镜像.html">
            
                <a href="../第6章 Dockerfile/6.3 构建ubuntu镜像.html">
            
                    
                    6.3 构建ubuntu镜像
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../第6章 Dockerfile/6.4 构建springboot镜像.html">
            
                <a href="../第6章 Dockerfile/6.4 构建springboot镜像.html">
            
                    
                    6.4 构建springboot镜像
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" >
            
                <span>
            
                    
                    第7章 Docker Compose
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../第7章 Docker Compose/7.1 docker-compose简介.html">
            
                <a href="../第7章 Docker Compose/7.1 docker-compose简介.html">
            
                    
                    7.1 docker-compose简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../第7章 Docker Compose/7.2 docker-compose安装.html">
            
                <a href="../第7章 Docker Compose/7.2 docker-compose安装.html">
            
                    
                    7.2 docker-compose安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../第7章 Docker Compose/7.3 docker-compose参数介绍.html">
            
                <a href="../第7章 Docker Compose/7.3 docker-compose参数介绍.html">
            
                    
                    7.3 docker-compose参数介绍
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" >
            
                <span>
            
                    
                    第8章 Docker Registry
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../第8章 Docker Registry/8.1 注册DockerHub.html">
            
                <a href="../第8章 Docker Registry/8.1 注册DockerHub.html">
            
                    
                    8.1 注册DockerHub
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../第8章 Docker Registry/8.2 搭建Registry.html">
            
                <a href="../第8章 Docker Registry/8.2 搭建Registry.html">
            
                    
                    8.2 搭建Registry
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../第8章 Docker Registry/8.3 搭建Harbor.html">
            
                <a href="../第8章 Docker Registry/8.3 搭建Harbor.html">
            
                    
                    8.3 搭建Harbor
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" >
            
                <span>
            
                    
                    第9章 Docker Software
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.10.1" data-path="9.1 部署Nginx.html">
            
                <a href="9.1 部署Nginx.html">
            
                    
                    9.1 部署Nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="9.2 部署MySQL.html">
            
                <a href="9.2 部署MySQL.html">
            
                    
                    9.2 部署MySQL
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="9.3 部署Redis.html">
            
                <a href="9.3 部署Redis.html">
            
                    
                    9.3 部署Redis
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" >
            
                <span>
            
                    
                    第10章 Docker Manager
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../第10章 Docker Manager/10.1 portainer.html">
            
                <a href="../第10章 Docker Manager/10.1 portainer.html">
            
                    
                    10.1 portainer
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >9.1 部署Nginx</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h6 id="&#x4E00;&#xFF0C;&#x62C9;&#x53D6;&#x955C;&#x50CF;">&#x4E00;&#xFF0C;&#x62C9;&#x53D6;&#x955C;&#x50CF;</h6>
<pre><code class="lang-bash">docker pull nginx:1.19.0
</code></pre>
<h6 id="&#x4E8C;&#xFF0C;&#x521B;&#x5EFA;docker-composeyml">&#x4E8C;&#xFF0C;&#x521B;&#x5EFA;docker-compose.yml</h6>
<pre><code class="lang-yaml"><span class="hljs-attr">version:</span> <span class="hljs-string">&apos;3&apos;</span>
<span class="hljs-attr">services:</span>

<span class="hljs-attr">  nginx:</span>                                    <span class="hljs-comment"># ngxin&#x5BB9;&#x5668;</span>
<span class="hljs-attr">    image:</span> nginx:<span class="hljs-number">1.19</span><span class="hljs-number">.0</span>                     <span class="hljs-comment"># &#x6307;&#x5B9A;&#x955C;&#x50CF;</span>
<span class="hljs-attr">    container_name:</span> nginx_container         <span class="hljs-comment"># &#x5BB9;&#x5668;&#x540D;&#x4E3A;nginx_container</span>
<span class="hljs-attr">    restart:</span> always                         <span class="hljs-comment"># &#x91CD;&#x542F;&#x7B56;&#x7565;: &#x5BB9;&#x5668;&#x9000;&#x51FA;&#x65F6;&#x603B;&#x662F;&#x91CD;&#x542F;&#x5BB9;&#x5668;</span>
<span class="hljs-attr">    volumes:</span>                                <span class="hljs-comment"># &#x6302;&#x8F7D;&#x6587;&#x4EF6;</span>
<span class="hljs-bullet">      -</span> /home/compose/nginx/conf/nginx.conf:/etc/nginx/nginx.conf
<span class="hljs-bullet">      -</span> /home/compose/nginx/conf/conf.d:/etc/nginx/conf/conf.d     
<span class="hljs-bullet">      -</span> /home/compose/nginx/www:/etc/nginx/www      
<span class="hljs-attr">    environment:</span>
<span class="hljs-attr">      TZ:</span> Asia/Shanghai
<span class="hljs-attr">    ports:</span>                                  <span class="hljs-comment"># &#x6620;&#x5C04;&#x7AEF;&#x53E3;</span>
<span class="hljs-bullet">      -</span> <span class="hljs-number">80</span>:<span class="hljs-number">80</span>
<span class="hljs-bullet">      -</span> <span class="hljs-number">443</span>:<span class="hljs-number">443</span>
</code></pre>
<ul>
<li>&#x521B;&#x5EFA;&#x6302;&#x8F7D;&#x76EE;&#x5F55;</li>
</ul>
<pre><code class="lang-bash"><span class="hljs-comment"># &#x7528;&#x4E8E;&#x5B58;&#x653E;&#x524D;&#x7AEF;&#x9879;&#x76EE;</span>
mkdir /home/compose/nginx/www

<span class="hljs-comment"># &#x7528;&#x4E8E;&#x5B58;&#x653E;nginx&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;   </span>
mkdir /home/compose/nginx/conf
</code></pre>
<ul>
<li>&#x521B;&#x5EFA;&#x914D;&#x7F6E;&#x6587;&#x4EF6;nginx.conf&#xFF1A;vim /home/compose/nginx/conf/nginx.conf</li>
</ul>
<pre><code class="lang-nginx"><span class="hljs-attribute">worker_processes</span>  <span class="hljs-number">1</span>;

<span class="hljs-attribute">error_log</span>  /var/log/nginx/error.log <span class="hljs-literal">warn</span>;
<span class="hljs-attribute">pid</span>        /var/run/nginx.pid;


<span class="hljs-section">events</span> {
    <span class="hljs-attribute">worker_connections</span>  <span class="hljs-number">1024</span>;
}


<span class="hljs-section">http</span> {
    <span class="hljs-attribute">include</span>       /etc/nginx/mime.types;
    <span class="hljs-attribute">default_type</span>  application/octet-stream;

    <span class="hljs-attribute">log_format</span>  main  <span class="hljs-string">&apos;<span class="hljs-variable">$remote_addr</span> - <span class="hljs-variable">$remote_user</span> [<span class="hljs-variable">$time_local</span>] &quot;<span class="hljs-variable">$request</span>&quot; &apos;</span>
                      <span class="hljs-string">&apos;<span class="hljs-variable">$status</span> <span class="hljs-variable">$body_bytes_sent</span> &quot;<span class="hljs-variable">$http_referer</span>&quot; &apos;</span>
                      <span class="hljs-string">&apos;&quot;<span class="hljs-variable">$http_user_agent</span>&quot; &quot;<span class="hljs-variable">$http_x_forwarded_for</span>&quot;&apos;</span>;

    <span class="hljs-attribute">access_log</span>  /var/log/nginx/access.log  main;

    <span class="hljs-attribute">sendfile</span>        <span class="hljs-literal">on</span>;
    <span class="hljs-comment">#tcp_nopush     on;</span>

    <span class="hljs-attribute">keepalive_timeout</span>  <span class="hljs-number">65</span>;

    <span class="hljs-comment">#gzip  on;</span>

    <span class="hljs-section">server</span> {
            <span class="hljs-attribute">listen</span>       <span class="hljs-number">8061</span>; 
            <span class="hljs-attribute">server_name</span>  localhost;
            <span class="hljs-attribute">location</span> / {
                    <span class="hljs-attribute">try_files</span> <span class="hljs-variable">$uri</span> <span class="hljs-variable">$uri</span>/ /index.html;
                    <span class="hljs-attribute">root</span>   /etc/nginx/www/register/dist;
                    <span class="hljs-attribute">index</span>  index.html index.htm;
            }

            <span class="hljs-attribute">location</span> /api {
                    <span class="hljs-attribute">proxy_pass</span> http://192.168.0.4:8013;
                    <span class="hljs-attribute">proxy_set_header</span> Host <span class="hljs-variable">$host</span>;
                    <span class="hljs-attribute">proxy_set_header</span> X-Real-IP <span class="hljs-variable">$remote_addr</span>;
                    <span class="hljs-attribute">proxy_set_header</span> REMOTE-HOST <span class="hljs-variable">$remote_addr</span>;
                    <span class="hljs-attribute">proxy_set_header</span> X-Forwarded-For <span class="hljs-variable">$proxy_add_x_forwarded_for</span>;
            }

            <span class="hljs-attribute">error_page</span>  <span class="hljs-number">404</span>              /<span class="hljs-number">404</span>.html;
            <span class="hljs-attribute">error_page</span>   <span class="hljs-number">500</span> <span class="hljs-number">502</span> <span class="hljs-number">503</span> <span class="hljs-number">504</span>  /50x.html;
            <span class="hljs-attribute">location</span> = /50x.html {
                    <span class="hljs-attribute">root</span>   html;
            }
    }

}
</code></pre>
<h6 id="&#x4E09;&#xFF0C;&#x521B;&#x5EFA;&#x5E76;&#x8FD0;&#x884C;&#x5BB9;&#x5668;">&#x4E09;&#xFF0C;&#x521B;&#x5EFA;&#x5E76;&#x8FD0;&#x884C;&#x5BB9;&#x5668;</h6>
<pre><code class="lang-bash"><span class="hljs-comment"># &#x521B;&#x5EFA;&#x5E76;&#x542F;&#x52A8;&#x5BB9;&#x5668;</span>
docker-compose up <span class="hljs-_">-d</span> xxx

<span class="hljs-comment"># &#x505C;&#x6B62;&#x5E76;&#x5220;&#x9664;&#x5BB9;&#x5668;</span>
docker-compose down xxx

<span class="hljs-comment"># &#x5F00;&#x542F;&#x5BB9;&#x5668;</span>
docker-compose start xxx

<span class="hljs-comment"># &#x91CD;&#x542F;&#x5BB9;&#x5668;</span>
docker-compose restart xxx

<span class="hljs-comment"># &#x5F00;&#x542F;&#x5BB9;&#x5668;</span>
docker-compose start xxx

<span class="hljs-comment"># &#x505C;&#x6B62;&#x5BB9;&#x5668;</span>
docker-compose stop xxx

<span class="hljs-comment"># &#x5220;&#x9664;&#x5BB9;&#x5668;</span>
docker-compose rm xxx

<span class="hljs-comment"># &#x8FDB;&#x5165;&#x5BB9;&#x5668;&#x5185;&#x90E8;</span>
docker-compose <span class="hljs-built_in">exec</span> xxx bash
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="9.2 部署MySQL.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 9.2 部署MySQL">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"9.1 部署Nginx","level":"1.10.1","depth":2,"next":{"title":"9.2 部署MySQL","level":"1.10.2","depth":2,"path":"第9章 Docker Software/9.2 部署MySQL.md","ref":"第9章 Docker Software/9.2 部署MySQL.md","articles":[]},"previous":{"title":"第9章 Docker Software","level":"1.10","depth":1,"ref":"","articles":[{"title":"9.1 部署Nginx","level":"1.10.1","depth":2,"path":"第9章 Docker Software/9.1 部署Nginx.md","ref":"第9章 Docker Software/9.1 部署Nginx.md","articles":[]},{"title":"9.2 部署MySQL","level":"1.10.2","depth":2,"path":"第9章 Docker Software/9.2 部署MySQL.md","ref":"第9章 Docker Software/9.2 部署MySQL.md","articles":[]},{"title":"9.3 部署Redis","level":"1.10.3","depth":2,"path":"第9章 Docker Software/9.3 部署Redis.md","ref":"第9章 Docker Software/9.3 部署Redis.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-pro","expandable-chapters","back-to-top-button","code","favicon-absolute","hide-element","insert-logo","donate"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search-pro":{},"code":{"copyButtons":true},"donate":{"alipay":"https://minio.lyqzhpt.com/typora/alipay.jpg","alipayText":"支付宝","button":"欢迎赞赏","title":"","wechat":"https://minio.lyqzhpt.com/typora/wechatpay.jpg","wechatText":"微信"},"favicon-absolute":{"appleTouchIconMore":{},"appleTouchIconPrecomposed152":"docker.ico","appleTouchIconPrecomposedMore":{},"favicon":"docker.ico"},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"insert-logo":{"style":"background: none; max-height: 32px; min-height: 32px","url":"https://minio.lyqzhpt.com/typora/docker.png"},"expandable-chapters":{}},"theme":"default","author":"杨文成 <cheng2guen@163.com>","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"《Docker从入门到放弃》","gitbook":"*","description":"docker常用功能介绍"},"file":{"path":"第9章 Docker Software/9.1 部署Nginx.md","mtime":"2023-05-17T13:16:19.985Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-05-23T07:10:58.029Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

